//
//  HJCommonDto.h
//  KaiChat
//
//  Created by lx on 2023/10/21.
//

#import <Foundation/Foundation.h>


NS_ASSUME_NONNULL_BEGIN

@class HJChatMessageModel;

@interface HJMessageDto : NSObject

@property (nonatomic, copy, nullable) NSString *urlPath;
@property (nonatomic, copy) NSString *sessionId;
@property (nonatomic, copy) NSString *uid;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, strong) NSNumber *chatType;//1000 单聊 2000群聊 3000广播
@property (nonatomic, strong, nullable) NSNumber *serverMsgId;
@property (nonatomic, strong) NSNumber *messagType; //1-文本 2-图片3-语音 4-视频
@property (nonatomic, strong) NSNumber *timestamp;

- (instancetype)initWithMessageModel:(HJChatMessageModel *)model;
+ (instancetype)messageDtoWithMessageModel:(HJChatMessageModel *)model;

@end

NS_ASSUME_NONNULL_END
